package top.bingoz.wanandroid.di.module

import dagger.Module
import dagger.android.ContributesAndroidInjector
import top.bingoz.wanandroid.di.ApiModule
import top.bingoz.wanandroid.di.ArticleModule
import top.bingoz.wanandroid.di.BannerModule
import top.bingoz.wanandroid.di.scope.ActivityScope
import top.bingoz.wanandroid.ui.activity.MainActivity

/**
 * @author su
 * @date 2018/7/27
 * @description
 */
@Module
abstract class ActivityBindingModule {


    @ActivityScope
    @ContributesAndroidInjector(modules = [ApiModule::class, ArticleModule::class, BannerModule::class])
    abstract fun mainActivity(): MainActivity
}